/**
 * @Author: likang xie
 * @Date: 2019-11-06 17:38:23
 * @Usage Toast提示封装
 */

export default (title = "未知信息", type = "none", mask = false) => {
  return uni.showToast({
    title,
    icon: "none",
    image: type == "success" ? "/static/icons/success.png" : type == "error" ? "/static/icons/error.png" : "",
    mask
  });
}